<?php
/**
 * 数据分析
 */
namespace app\sports\match\controller;

use app\common\BaseController;

class Analysis extends BaseController
{
    /**
     * 获取情报数据
     */
    public function getAnalysis()
    {
        $data = $this->request->post();
        $matchId = isset($data['match_id']) ? $data['match_id'] : 0;
        if (empty($matchId)) {
            $this->jsonReturn(-1, [], '比赛ID不能为空');
        }

        $isHome = isset($data['is_home']) ? $data['is_home'] : 1;


    }
}